projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f99cbdf
)
GtkContainerAccessible: avoid resurrecting accessibles
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 15 Oct 2014 03:58:37 +0000
(23:58 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 15 Oct 2014 03:58:37 +0000
(23:58 -0400)
When removing a child, we don't want to resurrect its
accessible needlessly.
gtk/a11y/gtkcontaineraccessible.c
patch
|
blob
|
history
diff --git
a/gtk/a11y/gtkcontaineraccessible.c
b/gtk/a11y/gtkcontaineraccessible.c
index 0ea0d765e471e99d2f0b7121995f37cf672cb3a5..7146acf0b2ff653c32facd0a4e8ff93d3820fb6c 100644
(file)
--- a/
gtk/a11y/gtkcontaineraccessible.c
+++ b/
gtk/a11y/gtkcontaineraccessible.c
@@
-150,7
+150,7
@@
gtk_container_accessible_real_remove_gtk (GtkContainer *container,
gint index;
atk_parent = ATK_OBJECT (data);
- atk_child =
gtk_widget_get
_accessible (widget);
+ atk_child =
_gtk_widget_peek
_accessible (widget);
if (atk_child == NULL)
return 1;
accessible = GTK_CONTAINER_ACCESSIBLE (atk_parent);